﻿cd %cd%
rd /q /s htdocs
::
xcopy ..\registry-core\target\registry-core\*.* htdocs\registry\ /s /e /y
xcopy ..\registry-core\target\registry-core\WEB-INF\lib\registry-core.jar htdocs\registry-jar\ /s /e /y
xcopy ..\registry-core\target\registry-core\WEB-INF\lib\config-core-1.0.jar htdocs\registry-jar\ /s /e /y
del htdocs\registry\WEB-INF\lib\*.jar
xcopy htdocs\registry-jar\*.jar htdocs\registry\WEB-INF\lib\ /s /e /y
rd /q /s htdocs\registry-jar
rd /q /s htdocs\registry\WEB-INF\classes\com\
::
xcopy ..\service-core\course-service\target\course-service\*.* htdocs\course\ /s /e /y
xcopy ..\service-core\course-service\target\course-service\WEB-INF\lib\common-1.0.jar htdocs\course-jar\ /s /e /y
xcopy ..\service-core\course-service\target\course-service\WEB-INF\lib\config-core-1.0.jar htdocs\course-jar\ /s /e /y
xcopy ..\service-core\course-service\target\course-service\WEB-INF\lib\service-api-1.0.jar htdocs\course-jar\ /s /e /y
xcopy ..\service-core\course-service\target\course-service\WEB-INF\lib\course-service.jar htdocs\course-jar\ /s /e /y
del htdocs\course\WEB-INF\lib\*.jar
xcopy htdocs\course-jar\*.jar htdocs\course\WEB-INF\lib\ /s /e /y
rd /q /s htdocs\course-jar
rd /q /s htdocs\course\WEB-INF\classes\com\
::
xcopy ..\service-core\base-service\target\base-service\*.* htdocs\base\ /s /e /y
xcopy ..\service-core\base-service\target\base-service\WEB-INF\lib\common-1.0.jar htdocs\base-jar\ /s /e /y
xcopy ..\service-core\base-service\target\base-service\WEB-INF\lib\config-core-1.0.jar htdocs\base-jar\ /s /e /y
xcopy ..\service-core\base-service\target\base-service\WEB-INF\lib\service-api-1.0.jar htdocs\base-jar\ /s /e /y
xcopy ..\service-core\base-service\target\base-service\WEB-INF\lib\base-service.jar htdocs\base-jar\ /s /e /y
del htdocs\base\WEB-INF\lib\*.jar
xcopy htdocs\base-jar\*.jar htdocs\base\WEB-INF\lib\ /s /e /y
rd /q /s htdocs\base-jar
rd /q /s htdocs\base\WEB-INF\classes\com\
::
xcopy ..\service-core\exam-service\target\exam-service\*.* htdocs\exam\ /s /e /y
xcopy ..\service-core\exam-service\target\exam-service\WEB-INF\lib\common-1.0.jar htdocs\exam-jar\ /s /e /y
xcopy ..\service-core\exam-service\target\exam-service\WEB-INF\lib\config-core-1.0.jar htdocs\exam-jar\ /s /e /y
xcopy ..\service-core\exam-service\target\exam-service\WEB-INF\lib\service-api-1.0.jar htdocs\exam-jar\ /s /e /y
xcopy ..\service-core\exam-service\target\exam-service\WEB-INF\lib\exam-service.jar htdocs\exam-jar\ /s /e /y
del htdocs\exam\WEB-INF\lib\*.jar
xcopy htdocs\exam-jar\*.jar htdocs\exam\WEB-INF\lib\ /s /e /y
rd /q /s htdocs\exam-jar
rd /q /s htdocs\exam\WEB-INF\classes\com\
::
xcopy ..\web-core\admin\target\admin\*.* htdocs\admin\ /s /e /y
xcopy ..\web-core\admin\target\admin\WEB-INF\lib\common-1.0.jar htdocs\admin-jar\ /s /e /y
xcopy ..\web-core\admin\target\admin\WEB-INF\lib\config-core-1.0.jar htdocs\admin-jar\ /s /e /y
xcopy ..\web-core\admin\target\admin\WEB-INF\lib\service-api-1.0.jar htdocs\admin-jar\ /s /e /y
xcopy ..\web-core\admin\target\admin\WEB-INF\lib\admin.jar htdocs\admin-jar\ /s /e /y
del htdocs\admin\WEB-INF\lib\*.jar
xcopy htdocs\admin-jar\*.jar htdocs\admin\WEB-INF\lib\ /s /e /y
rd /q /s htdocs\admin-jar
rd /q /s htdocs\admin\WEB-INF\classes\com\
::
xcopy ..\web-core\front\target\front\*.* htdocs\front\ /s /e /y
xcopy ..\web-core\front\target\front\WEB-INF\lib\common-1.0.jar htdocs\front-jar\ /s /e /y
xcopy ..\web-core\front\target\front\WEB-INF\lib\config-core-1.0.jar htdocs\front-jar\ /s /e /y
xcopy ..\web-core\front\target\front\WEB-INF\lib\service-api-1.0.jar htdocs\front-jar\ /s /e /y
xcopy ..\web-core\front\target\front\WEB-INF\lib\front.jar htdocs\front-jar\ /s /e /y
del htdocs\front\WEB-INF\lib\*.jar
xcopy htdocs\front-jar\*.jar htdocs\front\WEB-INF\lib\ /s /e /y
rd /q /s htdocs\front-jar
rd /q /s htdocs\front\WEB-INF\classes\com\
::
xcopy ..\web-core\app\target\app\*.* htdocs\app\ /s /e /y
xcopy ..\web-core\app\target\app\WEB-INF\lib\common-1.0.jar htdocs\app-jar\ /s /e /y
xcopy ..\web-core\app\target\app\WEB-INF\lib\config-core-1.0.jar htdocs\app-jar\ /s /e /y
xcopy ..\web-core\app\target\app\WEB-INF\lib\service-api-1.0.jar htdocs\app-jar\ /s /e /y
xcopy ..\web-core\app\target\app\WEB-INF\lib\app.jar htdocs\app-jar\ /s /e /y
del htdocs\app\WEB-INF\lib\*.jar
xcopy htdocs\app-jar\*.jar htdocs\app\WEB-INF\lib\ /s /e /y
rd /q /s htdocs\app-jar
rd /q /s htdocs\app\WEB-INF\classes\com\
::
xcopy ..\web-core\h5\target\h5\*.* htdocs\h5\ /s /e /y
xcopy ..\web-core\h5\target\h5\WEB-INF\lib\common-1.0.jar htdocs\h5-jar\ /s /e /y
xcopy ..\web-core\h5\target\h5\WEB-INF\lib\config-core-1.0.jar htdocs\h5-jar\ /s /e /y
xcopy ..\web-core\h5\target\h5\WEB-INF\lib\service-api-1.0.jar htdocs\h5-jar\ /s /e /y
xcopy ..\web-core\h5\target\h5\WEB-INF\lib\h5.jar htdocs\h5-jar\ /s /e /y
del htdocs\h5\WEB-INF\lib\*.jar
xcopy htdocs\h5-jar\*.jar htdocs\h5\WEB-INF\lib\ /s /e /y
rd /q /s htdocs\h5-jar
rd /q /s htdocs\h5\WEB-INF\classes\com\
::
xcopy ..\web-core\res\target\res\*.* htdocs\res\ /s /e /y
xcopy ..\web-core\res\target\res\WEB-INF\lib\common-1.0.jar htdocs\res-jar\ /s /e /y
xcopy ..\web-core\res\target\res\WEB-INF\lib\config-core-1.0.jar htdocs\res-jar\ /s /e /y
xcopy ..\web-core\res\target\res\WEB-INF\lib\service-api-1.0.jar htdocs\res-jar\ /s /e /y
xcopy ..\web-core\res\target\res\WEB-INF\lib\res.jar htdocs\res-jar\ /s /e /y
del htdocs\res\WEB-INF\lib\*.jar
xcopy htdocs\res-jar\*.jar htdocs\res\WEB-INF\lib\ /s /e /y
rd /q /s htdocs\res-jar
rd /q /s htdocs\res\WEB-INF\classes\com\
::
pause